package com.example.fireassistant_server.service;


import com.example.fireassistant_server.dto.PointSearchFilter;
import com.example.fireassistant_server.dto.circle.CircleCreateRequest;
import com.example.fireassistant_server.dto.circle.CircleDto;
import com.example.fireassistant_server.dto.circle.CircleUpdateRequest;
import com.example.fireassistant_server.entity.User;
import org.springframework.data.domain.Page;


public interface CircleService {

    CircleDto addCircle(CircleCreateRequest circleCreateRequest, User user);

    CircleDto get(String id);

    void delete(String id);

    Page<CircleDto> search(PointSearchFilter pointSearchFilter);

    CircleDto update(String id, CircleUpdateRequest circleUpdateRequest);
}
